<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#222" media="(prefers-color-scheme: dark)"><meta name="generator" content="Hexo 6.3.0">

  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/meow.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/meow.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha256-HtsXJanqjKTc8vVQjO4YMhiqFoXkfBsjBWcX91T1jr8=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/themes/blue/pace-theme-minimal.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/pace.min.js" integrity="sha256-gqd7YTjg/BtfqWSwsJOvndl0Bxc8gFImLEkXQT8+qj0=" crossorigin="anonymous"></script>

<script class="next-config" data-name="main" type="application/json">{"hostname":"meowxue.gitee.io","root":"/","images":"/images","scheme":"Muse","darkmode":true,"version":"8.18.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":false,"style":null},"fold":{"enable":false,"height":500},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script>

    <meta name="description" content="小狼毫是一个开源的汉字输入法，支持Windows，Linux，Mac。适合一些喜欢研究折腾的人。 官网地址：https:&#x2F;&#x2F;rime.im&#x2F;官网的帮助文档：https:&#x2F;&#x2F;rime.im&#x2F;docs&#x2F; 其实很多内容在官网上都有具体的设置教程。可以自己去研究，我再此记录一些我在使用过程中的一些问题，和一些基本的配置。">
<meta property="og:type" content="article">
<meta property="og:title" content="中州韻輸入法引擎(小狼毫) 相关配置">
<meta property="og:url" content="https://meowxue.gitee.io/2024/01/11/%E8%BD%AF%E4%BB%B6/%E4%B8%AD%E5%B7%9E%E9%9F%BB%E8%BC%B8%E5%85%A5%E6%B3%95%E5%BC%95%E6%93%8E(%E5%B0%8F%E7%8B%BC%E6%AF%AB)%20%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE/index.html">
<meta property="og:site_name" content="喵小哥儿の博客">
<meta property="og:description" content="小狼毫是一个开源的汉字输入法，支持Windows，Linux，Mac。适合一些喜欢研究折腾的人。 官网地址：https:&#x2F;&#x2F;rime.im&#x2F;官网的帮助文档：https:&#x2F;&#x2F;rime.im&#x2F;docs&#x2F; 其实很多内容在官网上都有具体的设置教程。可以自己去研究，我再此记录一些我在使用过程中的一些问题，和一些基本的配置。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://s11.ax1x.com/2024/01/11/pFCmn3D.png">
<meta property="og:image" content="https://s11.ax1x.com/2024/01/11/pFCm9c4.png">
<meta property="og:image" content="https://s11.ax1x.com/2024/01/11/pFCmy5V.png">
<meta property="og:image" content="https://s11.ax1x.com/2024/01/11/pFCn4SS.png">
<meta property="og:image" content="https://s11.ax1x.com/2024/01/11/pFCKS9f.png">
<meta property="article:published_time" content="2024-01-11T15:00:00.000Z">
<meta property="article:modified_time" content="2024-01-16T02:37:23.455Z">
<meta property="article:author" content="喵小哥儿">
<meta property="article:tag" content="软件">
<meta property="article:tag" content="输入法">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://s11.ax1x.com/2024/01/11/pFCmn3D.png">


<link rel="canonical" href="https://meowxue.gitee.io/2024/01/11/%E8%BD%AF%E4%BB%B6/%E4%B8%AD%E5%B7%9E%E9%9F%BB%E8%BC%B8%E5%85%A5%E6%B3%95%E5%BC%95%E6%93%8E(%E5%B0%8F%E7%8B%BC%E6%AF%AB)%20%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"https://meowxue.gitee.io/2024/01/11/%E8%BD%AF%E4%BB%B6/%E4%B8%AD%E5%B7%9E%E9%9F%BB%E8%BC%B8%E5%85%A5%E6%B3%95%E5%BC%95%E6%93%8E(%E5%B0%8F%E7%8B%BC%E6%AF%AB)%20%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE/","path":"2024/01/11/软件/中州韻輸入法引擎(小狼毫) 相关配置/","title":"中州韻輸入法引擎(小狼毫) 相关配置"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>中州韻輸入法引擎(小狼毫) 相关配置 | 喵小哥儿の博客</title>
  







<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/theme-next/theme-next-needmoreshare2@1/needsharebutton.min.css"><style>
#needsharebutton-postbottom {
  cursor: pointer;
  height: 26px;
  margin-top: 10px;
  position: relative;
}
#needsharebutton-postbottom .btn {
  border: 1px solid $btn-default-border-color;
  border-radius: 3px;
  display: initial;
  padding: 1px 4px;
}
</style>
  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <div class="column">
      <header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <p class="site-title">喵小哥儿の博客</p>
      <i class="logo-line"></i>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger" aria-label="搜索" role="button">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-shuoshuo"><a href="/shuoshuo/" rel="section"><i class="fa fa-comment fa-fw"></i>碎念</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup"><div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off" maxlength="80"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close" role="button">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div class="search-result-container no-result">
  <div class="search-result-icon">
    <i class="fa fa-spinner fa-pulse fa-5x"></i>
  </div>
</div>

    </div>
  </div>

</header>
        
  
  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#1-%E8%BD%AF%E4%BB%B6%E5%AE%89%E8%A3%85"><span class="nav-number">1.</span> <span class="nav-text">1. 软件安装</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#2-%E5%80%99%E9%80%89%E6%A0%8F%E7%9A%84%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE"><span class="nav-number">2.</span> <span class="nav-text">2. 候选栏的相关配置</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#2-1-%E5%80%99%E9%80%89%E6%A0%8F%E7%AB%96%E6%8E%92%E5%8F%98%E6%A8%AA%E6%8E%92"><span class="nav-number">2.1.</span> <span class="nav-text">2.1 候选栏竖排变横排</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-2-%E5%80%99%E9%80%89%E6%A0%8F%E5%80%99%E9%80%89%E8%AF%8D%E6%95%B0%E9%87%8F%E8%AE%BE%E7%BD%AE"><span class="nav-number">2.2.</span> <span class="nav-text">2.2 候选栏候选词数量设置</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#3-%E5%8F%8C%E6%8B%BC%E6%96%B9%E6%A1%88"><span class="nav-number">3.</span> <span class="nav-text">3. 双拼方案</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#4-%E5%AF%BC%E5%85%A5%E8%AF%8D%E5%BA%93"><span class="nav-number">4.</span> <span class="nav-text">4. 导入词库</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95"><span class="nav-number">4.1.</span> <span class="nav-text">使用方法</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%A2%9E%E5%8A%A0%E8%87%AA%E5%B7%B1%E7%9A%84%E8%A9%9E%E5%BA%AB"><span class="nav-number">4.2.</span> <span class="nav-text">增加自己的詞庫</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#5-%E5%A4%87%E4%BB%BD%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6"><span class="nav-number">5.</span> <span class="nav-text">5.备份配置文件</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#5-1-%E8%AE%BE%E5%AE%9A%E5%90%8C%E6%AD%A5%E4%BD%8D%E7%BD%AE"><span class="nav-number">5.1.</span> <span class="nav-text">5.1 设定同步位置</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E7%BB%93%E8%AF%AD"><span class="nav-number">6.</span> <span class="nav-text">结语</span></a></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="喵小哥儿"
      src="/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">喵小哥儿</p>
  <div class="site-description" itemprop="description">慢热，沉默，抽烟，小酌，喜欢独处，半点斯文，半点猥琐。</div>
</div>
<div class="site-state-wrap animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">32</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">5</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">22</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author animated">
      <span class="links-of-author-item">
        <a href="mailto:meowxue@163.com" title="E-Mail → mailto:meowxue@163.com" rel="noopener me" target="_blank"><i class="fa fa-envelope fa-fw"></i></a>
      </span>
  </div>

        </div>
      </div>
    </div>

    
  </aside>


    </div>

    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://meowxue.gitee.io/2024/01/11/%E8%BD%AF%E4%BB%B6/%E4%B8%AD%E5%B7%9E%E9%9F%BB%E8%BC%B8%E5%85%A5%E6%B3%95%E5%BC%95%E6%93%8E(%E5%B0%8F%E7%8B%BC%E6%AF%AB)%20%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.jpg">
      <meta itemprop="name" content="喵小哥儿">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="喵小哥儿の博客">
      <meta itemprop="description" content="慢热，沉默，抽烟，小酌，喜欢独处，半点斯文，半点猥琐。">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content="中州韻輸入法引擎(小狼毫) 相关配置 | 喵小哥儿の博客">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          中州韻輸入法引擎(小狼毫) 相关配置
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2024-01-11 23:00:00" itemprop="dateCreated datePublished" datetime="2024-01-11T23:00:00+08:00">2024-01-11</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">分类于</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/%E8%BD%AF%E4%BB%B6/" itemprop="url" rel="index"><span itemprop="name">软件</span></a>
        </span>
    </span>

  
    <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv">
      <span class="post-meta-item-icon">
        <i class="far fa-eye"></i>
      </span>
      <span class="post-meta-item-text">阅读次数：</span>
      <span id="busuanzi_value_page_pv"></span>
    </span>
    <span class="post-meta-break"></span>
    <span class="post-meta-item" title="本文字数">
      <span class="post-meta-item-icon">
        <i class="far fa-file-word"></i>
      </span>
      <span class="post-meta-item-text">本文字数：</span>
      <span>2.2k</span>
    </span>
    <span class="post-meta-item" title="阅读时长">
      <span class="post-meta-item-icon">
        <i class="far fa-clock"></i>
      </span>
      <span class="post-meta-item-text">阅读时长 &asymp;</span>
      <span>8 分钟</span>
    </span>
</div>

          
          
        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody"><p>小狼毫是一个开源的汉字输入法，支持Windows，Linux，Mac。适合一些喜欢研究折腾的人。</p>
<p>官网地址：<a target="_blank" rel="noopener" href="https://rime.im/">https://rime.im/</a><br>官网的帮助文档：<a target="_blank" rel="noopener" href="https://rime.im/docs/">https://rime.im/docs/</a></p>
<p>其实很多内容在官网上都有具体的设置教程。可以自己去研究，我再此记录一些我在使用过程中的一些问题，和一些基本的配置。</p>
<span id="more"></span>

<h1 id="1-软件安装"><a href="#1-软件安装" class="headerlink" title="1. 软件安装"></a>1. 软件安装</h1><p>傻瓜式安装，再此不做过多介绍。</p>
<p>安装快结束的时候会选择输入方案，在此推荐选择明月拼音，也就是全拼输入法</p>
<p><a target="_blank" rel="noopener" href="https://imgse.com/i/pFCmn3D"><img src="https://s11.ax1x.com/2024/01/11/pFCmn3D.png" alt="pFCmn3D.png"></a></p>
<p>勾选后选择 [中] 进行输入法皮肤的选择。（其实也可以自己定义输入法皮肤，这个呢我暂时没有调整皮肤的想法。以后再说吧）</p>
<p><a target="_blank" rel="noopener" href="https://imgse.com/i/pFCm9c4"><img src="https://s11.ax1x.com/2024/01/11/pFCm9c4.png" alt="pFCm9c4.png"></a></p>
<p>选择一个自己喜欢的皮肤就好了。</p>
<p>在电脑上切换到 小狼毫 输入法就可以使用了。</p>
<p>但是在此时打字会发现，打出的字都是繁体的。可以通过 <code>ctrl + ` </code>来切换，&#96;就是tab上方的那个按键。选择好后就可以打简体字了。</p>
<p><a target="_blank" rel="noopener" href="https://imgse.com/i/pFCmy5V"><img src="https://s11.ax1x.com/2024/01/11/pFCmy5V.png" alt="pFCmy5V.png"></a></p>
<p>可能你会发现我的候选栏是横着排列的，而你的是竖排排列，这个可以调整，后面会说到。</p>
<p>还有一点要注意的是，切换候选词的下一页和其他一些输入法可能不太一样，在使用搜狗输入法的时候切换下一页是按 ｛｝ 这两个键来切换，在小狼毫中切换需要按 - &#x3D;或者，。来进行翻页。</p>
<h1 id="2-候选栏的相关配置"><a href="#2-候选栏的相关配置" class="headerlink" title="2. 候选栏的相关配置"></a>2. 候选栏的相关配置</h1><p>主要说两方面的设置</p>
<ol>
<li>候选栏竖排变横排</li>
<li>候选栏候选词数量设置</li>
</ol>
<h2 id="2-1-候选栏竖排变横排"><a href="#2-1-候选栏竖排变横排" class="headerlink" title="2.1 候选栏竖排变横排"></a>2.1 候选栏竖排变横排</h2><p>在桌面右下角右键输入法图标，弹出菜单栏，选择 ［用户文件夹］</p>
<p><a target="_blank" rel="noopener" href="https://imgse.com/i/pFCn4SS"><img src="https://s11.ax1x.com/2024/01/11/pFCn4SS.png" alt="pFCn4SS.png"></a></p>
<p>在文件夹中选择 <code>weasel.custom.yaml</code>这个文件，打开编辑，在 patch 下追加以下内容：</p>
<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">&quot;style/horizontal&quot;:</span> <span class="literal">true</span> <span class="comment">#候选横排</span></span><br></pre></td></tr></table></figure>


<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">customization:</span></span><br><span class="line">  <span class="attr">distribution_code_name:</span> <span class="string">Weasel</span></span><br><span class="line">  <span class="attr">distribution_version:</span> <span class="number">0.15</span><span class="number">.0</span><span class="number">.0</span></span><br><span class="line">  <span class="attr">generator:</span> <span class="string">&quot;Weasel::UIStyleSettings&quot;</span></span><br><span class="line">  <span class="attr">modified_time:</span> <span class="string">&quot;Mon Jan  8 21:26:49 2024&quot;</span></span><br><span class="line">  <span class="attr">rime_version:</span> <span class="number">1.8</span><span class="number">.5</span></span><br><span class="line"><span class="attr">patch:</span></span><br><span class="line">  <span class="attr">&quot;style/color_scheme&quot;:</span> <span class="string">steam</span> <span class="comment">#皮肤</span></span><br><span class="line">  <span class="attr">&quot;style/horizontal&quot;:</span> <span class="literal">true</span> <span class="comment">#候选横排</span></span><br><span class="line">  <span class="attr">&quot;style/display_tray_icon&quot;:</span> <span class="literal">true</span>  <span class="comment"># 显示系统托盘图标 （看个人喜好添加）</span></span><br></pre></td></tr></table></figure>
<p>保存后，然后右键输入法图标，选择重新部署，这样输入候选栏就会变成横排展示了。</p>
<h2 id="2-2-候选栏候选词数量设置"><a href="#2-2-候选栏候选词数量设置" class="headerlink" title="2.2 候选栏候选词数量设置"></a>2.2 候选栏候选词数量设置</h2><p>输入法默认展示5个候选词，可以通过设置改变候选词的数量。</p>
<p>和上述同样的方法，打开用户文件夹，找到 <code>default.custom.yaml</code>这个文件，打开编辑，在patch下追加如下内容：</p>
<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">&quot;menu/page_size&quot;:</span> <span class="number">9</span></span><br></pre></td></tr></table></figure>

<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">customization:</span></span><br><span class="line">  <span class="attr">distribution_code_name:</span> <span class="string">Weasel</span></span><br><span class="line">  <span class="attr">distribution_version:</span> <span class="number">0.15</span><span class="number">.0</span><span class="number">.0</span></span><br><span class="line">  <span class="attr">generator:</span> <span class="string">&quot;Rime::SwitcherSettings&quot;</span></span><br><span class="line">  <span class="attr">modified_time:</span> <span class="string">&quot;Thu Jan 11 19:50:07 2024&quot;</span></span><br><span class="line">  <span class="attr">rime_version:</span> <span class="number">1.8</span><span class="number">.5</span></span><br><span class="line"><span class="attr">patch:</span></span><br><span class="line">  <span class="attr">schema_list:</span></span><br><span class="line">    <span class="bullet">-</span> &#123;<span class="attr">schema:</span> <span class="string">double_pinyin_mspy</span>&#125;</span><br><span class="line">  <span class="attr">&quot;menu/page_size&quot;:</span> <span class="number">9</span></span><br></pre></td></tr></table></figure>

<h1 id="3-双拼方案"><a href="#3-双拼方案" class="headerlink" title="3. 双拼方案"></a>3. 双拼方案</h1><p>不用双拼的就不用看了。</p>
<p>github 文件下载 <a target="_blank" rel="noopener" href="https://github.com/rime/rime-double-pinyin">https://github.com/rime/rime-double-pinyin</a></p>
<p>已收錄以下雙拼方案：</p>
<ul>
<li>自然碼雙拼</li>
<li>智能ABC雙拼 double_pinyin_abc.schema.yaml</li>
<li>小鶴雙拼 double_pinyin_flypy.schema.yaml</li>
<li>MSPY雙拼（微软双拼） double_pinyin_mspy.schema.yaml</li>
<li>拼音加加雙拼 double_pinyin_pyjj.schema.yaml</li>
</ul>
<p>将需要使用的双拼方案下载后，放入用户文件夹下即可。</p>
<p>重新部署，然后选择 输入法设定 勾选。 完成！</p>
<h1 id="4-导入词库"><a href="#4-导入词库" class="headerlink" title="4. 导入词库"></a>4. 导入词库</h1><p>一款输入法是否好用全看词库是否丰富。在此处展示导入搜狗输入法的词库，其他的词库也是相同的。</p>
<p>下载搜狗输入法的词库。</p>
<p>搜狗输入法词库下载地址：<a target="_blank" rel="noopener" href="http://pinyin.sogou.com/dict/detail/index/11640">http://pinyin.sogou.com/dict/detail/index/11640</a></p>
<p>在此选择我们需要使用的词库，里面有很多词库，自行选择下载，推荐一定要下载 <strong>搜狗标准词库</strong></p>
<p>当下载好词库后，词库还不能被小狼毫输入法识别出来，需要通过软件工具将搜狗输入法的词库转换成小狼毫可用的格式，使用的工具 为 「深蓝词库转换 」可以自行通过百度搜索下载。</p>
<p>工具使用很简单，其中就是在选文件的时候注意选择文件格式。我刚弄得时候还纳闷儿明明下载了很多，为什么没有文件可选。 汗~</p>
<p><a target="_blank" rel="noopener" href="https://imgse.com/i/pFCKS9f"><img src="https://s11.ax1x.com/2024/01/11/pFCKS9f.png" alt="pFCKS9f.png"></a></p>
<p>词库转换完成后，先留着备用。</p>
<p>打开github 访问 <a target="_blank" rel="noopener" href="https://github.com/rime-aca/dictionaries">https://github.com/rime-aca/dictionaries</a></p>
<p>将文件下载下来，其中用到的就是  luna_pinyin.dict 这个文件下的文件</p>
<p>在里面写的很详细，跟着做就好了。我在这儿也搬运一下吧。</p>
<h2 id="使用方法"><a href="#使用方法" class="headerlink" title="使用方法"></a>使用方法</h2><p>1.下載詞庫 <a target="_blank" rel="noopener" href="https://github.com/rime-aca/dictionaries.git">https://github.com/rime-aca/dictionaries.git</a> (或是直接 clone &#x2F; pull 這個 repo)</p>
<p>注意到其中應該有六個檔案</p>
<figure class="highlight stylus"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">double_pinyin<span class="selector-class">.custom</span><span class="selector-class">.yaml</span></span><br><span class="line">luna_pinyin<span class="selector-class">.custom</span><span class="selector-class">.yaml</span></span><br><span class="line">luna_pinyin<span class="selector-class">.hanyu</span><span class="selector-class">.dict</span><span class="selector-class">.yaml</span></span><br><span class="line">luna_pinyin<span class="selector-class">.cn_en</span><span class="selector-class">.dict</span><span class="selector-class">.yaml</span></span><br><span class="line">luna_pinyin<span class="selector-class">.extended</span><span class="selector-class">.dict</span><span class="selector-class">.yaml</span></span><br><span class="line">luna_pinyin<span class="selector-class">.poetry</span><span class="selector-class">.dict</span>.yaml*</span><br></pre></td></tr></table></figure>

<p>2.將上述檔案中後面五個移至你的 Rime 目錄底下 (depends on your OS)，以 OS X 來說，就是在 ~&#x2F;Library&#x2F;Rime&#x2F; 底下。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">部署位置：</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">~/.config/ibus/rime  (Linux)</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">~/Library/Rime  (Mac OS)</span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">%APPDATA%\Rime  (Windows)这个部署位置其实就是用户文件夹</span></span><br></pre></td></tr></table></figure>

<p>3.若爲雙拼使用者，請將 double_pinyin.custom.yaml 改名成你所使用的雙拼方案的代碼 如 double_pinyin_abc.custom.yaml，並放入第二步所說的目錄底下 若該目錄底下已有這個檔案，那麼將這兩個檔案中的內容 merge 即可</p>
<p>附雙拼方案與其對應的 id 一覽表：</p>
<table>
<thead>
<tr>
<th>輸入方案</th>
<th>id</th>
</tr>
</thead>
<tbody><tr>
<td>自然碼雙拼</td>
<td>double_pinyin</td>
</tr>
<tr>
<td>智能ABC雙拼</td>
<td>double_pinyin_abc</td>
</tr>
<tr>
<td>小鶴雙拼</td>
<td>double_pinyin_flypy</td>
</tr>
<tr>
<td>MSPY雙拼</td>
<td>double_pinyin_mspy</td>
</tr>
</tbody></table>
<p>4.若爲「朙月拼音」系列輸入方案使用者，請將補靪文件 luna_pinyin.custom.yaml 改名爲你所使用的輸入方案對應的 id。（比如朙月拼音·簡化字方案，則將 luna_pinyin.custom.yaml 改名爲 luna_pinyin_simp.custom.yaml）。</p>
<p>驗證：切換到拼音或其他適用方案，輸入「一介書生」（驗證擴充詞庫之基本詞庫）、「一丈紅」（驗證擴充詞庫之漢語大詞典詞彙）、「疑是地上霜」（驗證擴充詞庫之詩詞詞庫）、輸入「哆啦A夢（duo la a meng）」（驗證擴充詞庫之西文詞庫，此子詞庫爲朙月拼音系列方案專有，雙拼方案不推薦使用）。</p>
<h2 id="增加自己的詞庫"><a href="#增加自己的詞庫" class="headerlink" title="增加自己的詞庫"></a>增加自己的詞庫</h2><p>在這個架構底下增加自己的詞庫相當容易，只需新增一個自訂的 *.dict.yaml 檔案，內容可以仿照 luna_pinyin.extended.dict.yaml，並於其中引入 luna_pinyin.extended 及相關字典檔，例如：</p>
<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># lazywei.dict.yaml</span></span><br><span class="line"><span class="meta">---</span></span><br><span class="line"><span class="attr">name:</span> <span class="string">lazywei</span></span><br><span class="line"><span class="attr">version:</span> <span class="string">&quot;2015.1.10&quot;</span></span><br><span class="line"><span class="attr">sort:</span> <span class="string">by_weight</span></span><br><span class="line"><span class="attr">use_preset_vocabulary:</span> <span class="literal">true</span></span><br><span class="line"><span class="attr">import_tables:</span></span><br><span class="line">  <span class="bullet">-</span> <span class="string">luna_pinyin</span></span><br><span class="line">  <span class="bullet">-</span> <span class="string">luna_pinyin.extended</span></span><br><span class="line">  <span class="bullet">-</span> <span class="string">luna_pinyin.hanyu</span></span><br><span class="line">  <span class="bullet">-</span> <span class="string">luna_pinyin.poetry</span></span><br><span class="line">  <span class="comment">#下载好的词库就在此往下追加即可</span></span><br><span class="line"><span class="string">...</span></span><br><span class="line"></span><br><span class="line"><span class="string">這是我的詞</span></span><br></pre></td></tr></table></figure>

<p>接着再於 *.schema.yaml 或 *.custom.yaml 中將 translator&#x2F;dictionary 設置成此字典檔即可，例如：</p>
<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">patch:</span></span><br><span class="line">  <span class="attr">translator/dictionary:</span> <span class="string">lazywei</span></span><br></pre></td></tr></table></figure>

<p>如此，往後 luna_pinyin.extended 升級時並不會影響到這個 lazywei.dict.yaml，所以直接將所有檔案覆蓋即可。</p>
<h1 id="5-备份配置文件"><a href="#5-备份配置文件" class="headerlink" title="5.备份配置文件"></a>5.备份配置文件</h1><p>当做好一次配置后，其实以后就会方便很多了。当切换到新环境就可以使用备份好的配置文件，节省时间。小狼毫并不支持云存储，所以需要我们用u盘或者网盘来对文件进行备份。</p>
<p>以下内容均来自于 <a target="_blank" rel="noopener" href="https://github.com/rime/home/wiki/UserGuide">https://github.com/rime/home/wiki/UserGuide</a></p>
<h2 id="5-1-设定同步位置"><a href="#5-1-设定同步位置" class="headerlink" title="5.1 设定同步位置"></a>5.1 设定同步位置</h2><p>默認地，詞典快照備份到 RIME用戶文件夾\sync\UUID 這個地方。如果你要用 Dropbox 或 U盤在不同機器&#x2F;系統之間同步用戶詞典，則需要設定同步的目標文件夾，如 D:\Dropbox\RimeSync 。</p>
<p>直接編輯用戶文件夾下的 installation.yaml ，添加：</p>
<figure class="highlight vbnet"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="symbol">sync_dir:</span> <span class="comment">&#x27;D:\Dropbox\RimeSync&#x27;</span></span><br></pre></td></tr></table></figure>

<p>默認地，每套 Rime 會隨機生成一個 UUID 作爲標識。不同 installation ID 可區分來自不同機器&#x2F;系統的用戶詞典。</p>
<p>與安裝在其他系統上的 Rime 同步後，同步文件夾呈如下佈局：</p>
<figure class="highlight moonscript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-xxx\luna_pinyin.userdb.txt</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-xxx\terra_pinyin.userdb.txt</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-xxx\installation.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-xxx\default.custom.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-xxx\weasel.custom.yaml</span><br><span class="line"></span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-yyy\terra_pinyin.userdb.txt</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-yyy\installation.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-yyy\default.custom.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-yyy\squirrel.custom.yaml</span><br><span class="line"></span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-zzz\luna_pinyin.userdb.txt</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-zzz\installation.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-zzz\alternative.yaml</span><br><span class="line"><span class="name">D</span>:\Dropbox\RimeSync\id-zzz\luna_pinyin.custom.yaml</span><br></pre></td></tr></table></figure>

<p>同步時，依次將各子文件夾中的詞典快照合併到用戶詞典，最後爲合併後的用戶詞典生成一份新的快照文件。 另外，還會把用戶文件夾中非自動生成的 YAML 文件及 .txt 文件單向 備份 到同步文件夾。</p>
<p>有些特別講究命名的用家，不喜隨機生成的 UUID，可編輯 installation.yaml ，取一個有意義的 ID，如：</p>
<figure class="highlight sml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">installation_id: <span class="symbol">&#x27;fred</span>-win7-desktop&#x27;</span><br></pre></td></tr></table></figure>

<p>當心！因爲 Rime 要以這個 ID 爲名創建文件夾，因此 ID 不得包含（所有涉及同步的文件系統）文件名中非法的字符；建議不要用中文，只用小寫字母、數字、橫線和下劃線。</p>
<h1 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h1><p>到此呢，输入法就可以满足日常的使用了。在一顿操作下，看到成果还是很满足的，打造属于自己的输入法，真的是，泰裤辣！后续有时间了可能会继续完善吧。</p>

    </div>

    
    
    

    <footer class="post-footer"><div class="post-widgets">
      <div id="needsharebutton-postbottom">
        <span class="btn">
          <i class="fa fa-share-alt" aria-hidden="true"></i>
        </span>
      </div>
    </div>
          

<div class="post-copyright">
<ul>
  <li class="post-copyright-author">
      <strong>本文作者： </strong>喵小哥儿
  </li>
  <li class="post-copyright-link">
      <strong>本文链接：</strong>
      <a href="https://meowxue.gitee.io/2024/01/11/%E8%BD%AF%E4%BB%B6/%E4%B8%AD%E5%B7%9E%E9%9F%BB%E8%BC%B8%E5%85%A5%E6%B3%95%E5%BC%95%E6%93%8E(%E5%B0%8F%E7%8B%BC%E6%AF%AB)%20%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE/" title="中州韻輸入法引擎(小狼毫) 相关配置">https://meowxue.gitee.io/2024/01/11/软件/中州韻輸入法引擎(小狼毫) 相关配置/</a>
  </li>
  <li class="post-copyright-license">
      <strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fab fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！
  </li>
</ul>
</div>

          <div class="post-tags">
              <a href="/tags/%E8%BD%AF%E4%BB%B6/" rel="tag"># 软件</a>
              <a href="/tags/%E8%BE%93%E5%85%A5%E6%B3%95/" rel="tag"># 输入法</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/2023/12/04/%E6%8A%80%E8%83%BD/Oracle%E4%B8%AD%E7%9B%B8%E5%85%B3%E6%9C%8D%E5%8A%A1%E4%BB%8B%E7%BB%8D/" rel="prev" title="oracle每个后台服务的具体作用">
                  <i class="fa fa-angle-left"></i> oracle每个后台服务的具体作用
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/2024/03/06/%E8%BD%AF%E4%BB%B6/eclispe%E7%A8%8B%E5%BA%8F%E5%A4%A7%E7%BA%B2%E6%98%BE%E7%A4%BA%E9%94%99%E8%AF%AF/" rel="next" title="eclispe程序大纲显示错误">
                  eclispe程序大纲显示错误 <i class="fa fa-angle-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">

  <div class="copyright">
    &copy; 
    <span itemprop="copyrightYear">2024</span>
    <span class="with-love">
      <i class="fa fa-heart"></i>
    </span>
    <span class="author" itemprop="copyrightHolder">喵小哥儿</span>
  </div>
<div class="wordcount">
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-line"></i>
    </span>
      <span>站点总字数：</span>
    <span title="站点总字数">25k</span>
  </span>
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
      <span>站点阅读时长 &asymp;</span>
    <span title="站点阅读时长">1:29</span>
  </span>
</div>
<div class="busuanzi-count">
    <span class="post-meta-item" id="busuanzi_container_site_uv">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-item" id="busuanzi_container_site_pv">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/muse/" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>
  <div class="sidebar-dimmer"></div>
  <div class="back-to-top" role="button" aria-label="返回顶部">
    <i class="fa fa-arrow-up fa-lg"></i>
    <span>0%</span>
  </div>
  <div class="reading-progress-bar"></div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/schemes/muse.js"></script><script src="/js/next-boot.js"></script>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/hexo-generator-searchdb/1.4.1/search.js" integrity="sha256-1kfA5uHPf65M5cphT2dvymhkuyHPQp5A53EGZOnOLmc=" crossorigin="anonymous"></script>
<script src="/js/third-party/search/local-search.js"></script>





  <script src="/js/third-party/pace.js"></script>


  
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>





  <script src="//cdn.jsdelivr.net/gh/theme-next/theme-next-needmoreshare2@1/needsharebutton.min.js"></script>
  <script>
      pbOptions = {};
        pbOptions.iconStyle = "box";
        pbOptions.boxForm = "horizontal";
        pbOptions.position = "bottomCenter";
        pbOptions.networks = "Wechat,QQZone,Weibo,Douban,Twitter,Facebook";
      new needShareButton('#needsharebutton-postbottom', pbOptions);
  </script>
</body>
</html>
